package com.zlx.guguanjia;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.context.annotation.PropertySource;
import tk.mybatis.spring.annotation.MapperScan;

@SpringBootApplication
//扫描mapper包
@MapperScan(basePackages = "com.zlx.guguanjia.mapper")
@org.mybatis.spring.annotation.MapperScan(basePackages = "com.zlx.guguanjia.mapper")
@PropertySource(value = "classpath:system.properties",encoding = "utf-8")
@EnableAspectJAutoProxy
public class GuguanjiaApplication {

    public static void main(String[] args) {
        SpringApplication.run(GuguanjiaApplication.class, args);
    }

}
